package com.jic.manager.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.manager.entity.MerchantWeBankSalesArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商户销售区域表
 * @author : 
 * @email : 
 * @since : 2020-11-28 11:08:22
 * @version : v1.0.0
 */
@Mapper
public interface  MerchantWeBankSalesAreaMapper {

    long insert(MerchantWeBankSalesArea merchantWeBankSalesArea);

    long delete(Long id);

    long update(MerchantWeBankSalesArea merchantWeBankSalesArea);

    MerchantWeBankSalesArea queryByPrimaryKey(Long id);

    List<MerchantWeBankSalesArea> query(MerchantWeBankSalesArea merchantWeBankSalesArea);

    List<MerchantWeBankSalesArea> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("merchantWeBankSalesArea") MerchantWeBankSalesArea merchantWeBankSalesArea);

    long queryPageCount(MerchantWeBankSalesArea merchantWeBankSalesArea);
}